﻿namespace CSharpPro;

public class Demo1
{
    public static void demo1()
    {
        int x, y, z,h;
        x=Int16.Parse(Console.ReadLine());
        y=Int16.Parse(Console.ReadLine());
        z=Int16.Parse(Console.ReadLine());
        if (x > y)
        {
            h = x;
            x = y;
            y = h;
        }

        if (y > z)
        {
            h = y;
            y = z;
            z = h;
        }

        if (x > y)
        {
            h = x;
            x = y;
            y = h;
        }
        Console.WriteLine(x+","+y+","+z);
    }
     
     
     
     
}